package com.clps.digital.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: Chase
 * @date: 2024/8/29 21:33
 * @Version: 1.0
 * @description:
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PropertyByCurrency {

    private Long id;

    //用户Id
    private Long userId;

    //货币Id
    private Long currencyId;

    //货币数量
    private BigDecimal quantity;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    //货币名称
    private String name;

    /**
     * 货币英文名
     */
    private String englishName;

    /**
     * 货币图片
     */
    private String img;

    /**
     *  预售量
     */
    private BigDecimal presale;

    /**
     * 发售量
     */
    private BigDecimal sale;

    /**
     *  单价
     */
    private BigDecimal price;

    /**
     *  交易总量
     */
    private BigDecimal total;

    /**
     *  换算比率
     */
    private BigDecimal rate;

    /**
     *  涨跌幅
     */
    private String upAndDown;

    /**
     * 是否是新发售的货币(0=不是1=是)
     */
    private Short state;
}
